package com.haixiaoke.saas.repository.pojo;

import com.haixiaoke.saas.repository.core.BaseEntity;
import lombok.Data;

import javax.validation.constraints.NotNull;


/**
 * 房屋设施价格和状态对象 biz_house_facilities_item
 *
 * @author qixi
 * @date 2023-04-17
 */
@Data
public class HouseFacilitiesItem extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long facilitiesItemId;

    /** 房屋设施id */
    @NotNull(message = "房屋设施id不能为空")
    private Long facilitiesId;

    /** 房屋设施名 */
    private String facilitiesName;

    /** 房屋id */
    private String houseId;

    /** 设施价格 */
    @NotNull(message = "设施价格不能为空")
    private Double facilitiesPrice;

    /** 设施状态：1正常 2已损坏 */
    @NotNull(message = "设施状态不能为空")
    private Integer facilitiesState;
}
